package com.catmiao.spark.framework.application

import com.catmiao.spark.framework.common.TApplication
import com.catmiao.spark.framework.controller.WordCountController
import org.apache.spark.{SparkConf, SparkContext}

/**
 * @title: WordCountApp
 * @projectName spark_study
 * @description: TODO
 * @author ChengMiao
 * @date 2024/3/15 15:54
 */
object WordCountApp extends App with TApplication {


  // 启动应用程序
  start("local[*]","wordCount"){
    val controller = new WordCountController

    controller.execute()
  }

}
